package com.mdx.rest;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author : jiagang
 * @date : Created in 2021/11/15 17:07
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.mdx.*","com.mdx.core.*","com.mdx.api.*"})
@EntityScan(basePackages = "com.mdx.api.*")
public class CommunityApplication {
    public static void main(String[] args) {

        SpringApplication.run(CommunityApplication.class, args);
    }
}
